package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    //插入一条用户记录
    public Integer insert(User user);

    //对记录进行修改
    public Integer update(User user);

    //对记录进行删除
    public Integer delete(User user);

}
